<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="Page Description">
    <meta name="author" content="chenjiabin">
    <title>Page Title</title>

    <!-- Bootstrap -->
    <link href="webjars/bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="container-fluid">
    <div class="row">
        <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 design-left"
             style="border: 1px solid red;box-sizing: border-box;-moz-box-sizing:border-box;">
            <div class="panel panel-default">
                <div class="panel-body">
                    Panel body ...
                </div>
            </div>
        </div>
        <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10 design-right"
             style="border: 1px solid red;box-sizing: border-box;-moz-box-sizing:border-box;">
            <div class="panel-body">
                Panel body ...
            </div>
        </div>
    </div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="webjars/jquery//1.11.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="webjars/bootstrap/3.4.1/js/bootstrap.min.js"></script>

<script src="jquery-ui-1.12.1/jquery-ui.min.js"></script>

<script language="JavaScript">
    $(function () {
        $(".panel-default").mousedown(function () {
            $(".panel-default").clone().draggable();
        });
        //$(".alert-info").show().top(0).left(0);
        $(".design-left").height($(window).height() - 2);
        $(".design-right").height($(window).height() - 2);
        $(window).resize(function (data) {
            $(".design-left").height($(window).height() - 2);
            $(".design-right").height($(window).height() - 2);
        });

        $(".design-left").append($("<div/>", {html: 'xx'}))
    });
</script>
</body>
</html>